<layout name ="common" />
<div class="templatemo-content-widget white-bg">
	<h2 class="margin-bottom-10 templatemo-blue-button">{$res.title}<a style="color: #FFF; font-size: 20px; display: inline-block; margin-left: 100px;" href="__ROOT__/article/addArticle/id/{$res.id}" class="templatemo-is-btn">编辑文章</a><a style="color: #FFF; font-size: 20px; display: inline-block; margin-left: 100px;" href="javascript:void(0)" onclick="history.back()" class="templatemo-is-btn">返回</a></h2>
	<div class="row form-group">
		<div class="col-lg-12">
			<img src="__ROOT__/{$res.bigimg}" style="width: 100%;">
		</div>
	</div>
	<div class="row form-group text-center">
		<div class="col-lg-12 has-success form-group" style="font-size: 18px;">
			<label class="control-label templatemo-block">【作者：{$res.author}】【发布者：{$res.username}】【所属分类：{$res.cate}】【点击量：{$res.hits}】</label>
			<label class="control-label templatemo-block">
				【<if condition='$res.is_home eq 1'>
					已在首页显示
				<else />
					未在首页显示
				</if>】
				【<if condition='$res.is_top eq 1'>
					已置顶
				<else />
					未置顶
				</if>】
			</label>
		</div>
	</div>
	<div class="row form-group">
		<div class="col-lg-12 has-warning form-group">
			<p class="control-label text-center" style="font-size: 20px; font-weight: bold;">文章简介</p>
			<p>{$res.profiles}</p>
		</div>
	</div>
	<div class="row form-group">
		<div class="col-lg-12 has-error form-group">
			<p class="control-label text-center" style="font-size: 20px;  font-weight: bold;">文章内容</p>
			<span>{$res.content}</span>
		</div>
	</div>
</div>
<script type="text/javascript">
	$(document).ready(function(){
		$("#leftMenu a[class='active']").removeClass("active");
		$('#leftMenu a:eq(1)').addClass("active");
	});
</script>